package com.flute.icrawler.app.util;

public interface ParameterKey {

	// 也可能出现这样的格式 text/html; charset=GBK
	public static final String HTTPHEAD_CONTENTTYPE = "content-type";

	public static final String RESULT_CRAWL = "CrawlResult";

	public static final String HTTP_LINKS = "LINKS";

	public static final String COLUMN_URL = "URL";

	public static final String COLUMN_PATH = "PATH";

	public static final String COLUMN_CHARSET = "CHARSET";
	
	public static final String COLUMN_CREATE_TIME = "CREATE_TIME";

	public static final String CHARSET_TYPE_BINARY = "BINARY";

	public static final String CHARSET_TYPE_UTF8 = "urf-8";

	public static final String RESULT_BDB_ENV_NAME = "ResultTable";

	public static final String RESULT_BDB_DB_NAME = "crawlResult";

	public static final String IP_DEFAULT = "127.0.0.1";

	// 取链接
	public final static String XPATH_HREF = "//A[@href]";

	public final static String[] CONTENTTYPE_HTML = { "text/html",
			"application/xhtml", "text/vnd.wap.wml", "application/vnd.wap.wml",
			"application/vnd.wap.xhtml" };

	public final static String LOGGER_PATTERN_LAYOUT = "%d{yyyy-MM-dd HH:mm:ss} %p-[%c{2}] %m%n";

	public final static int LOGGER_MAXSIZE = 5120;
}
